import { Module } from '@nestjs/common';
import { DepartService } from './depart.service';
import { DepartController } from './depart.controller';
import { UserModule } from 'src/user/user.module';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Depart } from './depart.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([Depart]),
    UserModule,

  ],
  providers: [DepartService],
  controllers: [DepartController],
  exports: [DepartService]
})
export class DepartModule { }
